package com.yjdb.sanyuantang.common.entity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;


@Data
@TableName("app_member")
@Schema(name = "app_member")
public class AppMember implements Serializable {

    /**
    * 会员id
    */
    @TableId(type = IdType.AUTO)
    @Schema(description="会员id")
    private Long id;


    /**
    * 会员编号
    */
    @TableField("number")
    @Schema(description="会员编号")
    private String number;


    /**
    * 会员关联编号
    */
    @TableField("re_number")
    @Schema(description="会员关联编号")
    private String reNumber;


    /**
    * 是否激活 0:未激活 1:已激活
    */
    @TableField("is_status")
    @Schema(description="是否激活 0:未激活 1:已激活")
    private String isStatus;


    /**
    * 创建时间
    */
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description="创建时间")
    private Date createTime;


    /**
    * 用户id
    */
    @TableField("user_id")
    @Schema(description="用户id")
    private Long userId;


    private static final long serialVersionUID = 1L;
}
